﻿using AutoMapper;

using Microsoft.AspNetCore.Identity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZFY.UMC.API.Model.Model;

namespace ZFY.UMC.API.Model
{
    public class User:IdentityUser<Guid>
    {
        public virtual string Signature { get; set; }
        public virtual DateTime? Birthday { get; set; }
        public virtual string Avatar { get; set; }
        public virtual Address Address { get; set; }
        public virtual List<UserRole> UserRoles { get; set; }
        public virtual string NickName { get; set; } 
        public virtual List<UserClaim> Claims { get; set; }
    }

    public class Address
    {
        public string Province { get; set; }
        public string City { get; set; }
        public string County { get; set; }
    }
}
